package evo.springboot.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UserController {


    @RequestMapping(value = "/condition")
    public ModelAndView condition(){
        ModelAndView mv = new ModelAndView();
        mv.addObject("sex",1);
        mv.addObject("flag",true);
        mv.addObject("productType",0);
        mv.setViewName("condition");
        return mv;
    }
}
